package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @author houChen
 * @date 2021/12/4 10:36
 * @Description:
 */
@Data
public class SkuItemVo {

    //1、sku的基本信息获取  pms_sku_info
    SkuInfoEntity info;

    boolean hasStock = true; //是否有库存

    //2、sku的图片信息获取 pms_sku_image
    List<SkuImagesEntity> images;

    //3、获取spu的销售属性组合
    List<SkuSaleAttrVo> saleAttr;

    //4、获取spu的介绍  spu_info_desc（所有的图片介绍）
    SpuInfoDescEntity desp;

    //5、获取spu的规格参数信息
    List<SpuItemBaseAttrGroupVo> groupVos;
}